import request from '@/utils/request'

export default {
  //用户登录
  submitLoginUser(userInfo) {
    return request({
      url: `/educenter/member/login`,
      method: 'post',
      data: userInfo
    })
  },
  //根据token获取用户信息
  getLoginUserInfo(token) {
    return request({
      url: `/educenter/member/getMemberInfo/${token}`,
      // url: '/educenter/member/getMemberInfo/'+token+"/"+limit,
      method: 'get',
    })
  },


}
